Mathematics of finance